﻿using System;

namespace edowork.com.Model
{
    #region storageInfo

    [Serializable]
    public class storageInfo
    {
        #region Private fields

        protected string _areaid = String.Empty;
        protected string _storageid = String.Empty;
        protected string _storagename = String.Empty;
        protected string _sysdate = String.Empty;

        #endregion

        public storageInfo() { }

        #region Public Properties

        public string Areaid
        {
            get { return _areaid; }
            set { _areaid = value; }
        }

        public string Storageid
        {
            get { return _storageid; }
            set { _storageid = value; }
        }

        public string Storagename
        {
            get { return _storagename; }
            set { _storagename = value; }
        }

        public string Sysdate
        {
            get { return _sysdate; }
            set { _sysdate = value; }
        }

        #endregion

        #region Public SQL Script

        public string SQL_Insert()
        {
            return "insert into storage(Areaid,Storageid,Storagename,Sysdate) values('{0}','{1}','{2}','{3}')";
        }

        #endregion

    }

    #endregion
}

